<script type="text/javascript">
	$(function(){
		$("input[name=username]").focus();
		$("#form").validate({
			rules: 
			{
				username: 
				{ 
					required: true
				},
				password: 
				{ 
					required: true
				}
			},
			messages:
			{
				username: 
				{ 
					required: ""
				},
				password: 
				{ 
					required: ""
				}
			}
		});
	});
</script>
<div id="frm_login">
	<ul id="breadcrumb">
		<li>เข้าสู่ระบบ</li>
	</ul>
	<div id="content">
	<form id="form" method="post" action="user/auth/login">
	<table>
		<tr>
			<th>Username</th>
			<td><?php echo form_input('username','','class="input"')?></td>
		</tr>
		<tr>
			<th>Password</th>
			<td><?php echo form_password('password','','class="input"')?></td>
		</tr>
		<tr>
			<th></th>
			<td><?php echo form_submit('','Login','class="button"')?> หรือ <a href="user/auth/forgot">ลืมรหัสผ่าน</a></td>
		</tr>
	</table>
	</form>
	</div>
</div>